package com.blb.dao;

import com.blb.dto.ZType;
import com.blb.dto.ZTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ZTypeMapper {
    long countByExample(ZTypeExample example);

    int deleteByExample(ZTypeExample example);

    int deleteByPrimaryKey(Integer tid);

    int insert(ZType record);

    int insertSelective(ZType record);

    List<ZType> selectByExample(ZTypeExample example);

    ZType selectByPrimaryKey(Integer tid);

    int updateByExampleSelective(@Param("record") ZType record, @Param("example") ZTypeExample example);

    int updateByExample(@Param("record") ZType record, @Param("example") ZTypeExample example);

    int updateByPrimaryKeySelective(ZType record);

    int updateByPrimaryKey(ZType record);
}